package br.ufrn.spl.ev.models.conflictmodel;

/**
 * Atomic Operation which conflict occours.
 * 
 * @author Gleydson
 * 
 */
public class AssetEvolution {

	private String signature;

	private String taskNumber;

	private String changeLogType;

	/** Used by indirect */
	private int callLevel;

	@Override
	public boolean equals(Object obj) {

		AssetEvolution other = (AssetEvolution) obj;
		return (signature.equals(other.getSignature()) && taskNumber.equals(other.getTaskNumber()));

	}

	public String getSignature() {
		return signature;
	}

	public void setSignature(String signature) {
		this.signature = signature;
	}

	public String getTaskNumber() {
		return taskNumber;
	}

	public void setTaskNumber(String taskNumber) {
		this.taskNumber = taskNumber;
	}

	public String getChangeLogType() {
		return changeLogType;
	}

	public void setChangeLogType(String changeLogType) {
		this.changeLogType = changeLogType;
	}

	public int getCallLevel() {
		return callLevel;
	}

	public void setCallLevel(int callLevel) {
		this.callLevel = callLevel;
	}

}